package com.hzncc.flowable_diboot.service;

import com.diboot.core.service.BaseService;
import com.diboot.core.vo.JsonResult;
import com.diboot.core.vo.Pagination;
import com.hzncc.flowable_diboot.dto.ToDoListDTO;
import com.hzncc.flowable_diboot.entity.ToDoList;
import com.hzncc.flowable_diboot.vo.ToDoListListVO;

import java.util.List;

/**
* 待办 相关Service接口定义
* @author MyName
* @version 1.0
* @date 2024-06-17
* Copyright © MyCorp
*/
public interface ToDoListService extends BaseService<ToDoList> {

    /**
     * 生成待办
     *
     * @param todoList
     * @author 陈广煜
     * @date 2024/6/17
     */
    void createToDo(ToDoList todoList);
    /**
     * 生成待办
     *
     * @param todoList
     * @author 陈广煜
     * @date 2024/6/17
     */
    void createToDo(List<ToDoList> todoList);
    JsonResult<List<ToDoListListVO>> searchToDoList(ToDoListDTO queryDto, Pagination pagination);
}